<?php

//function wz_header($param){
include_once("common.php"); // session start for page security 
//	session_start();
//if($logon=="yes") if (! isSessionAuthenticated()) header ("Location: log_in.php");
include_once("ClsSebent/config.php");
$qry="Select * from `cpanel_skin` ";
$rs=mysql_query($qry);
$data=mysql_fetch_array($rs);
?>
<html>
<head>
<title><?php echo stripslashes($data['meta_title']);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="<?php echo stripslashes($data['meta_keywords']);?>">
<meta name="description" content="<?php echo stripslashes($data['meta_description']);?>">

<link href="style.css" rel="stylesheet" type="text/css"></head>

<style>
.body {
	background-color: #<?php echo $data["pg_bg_clr"]; ?>;
}
.body,td,th {
	font-size: 14px;
	color: #<?php echo $data["tbl_txt_clr"];?>;
	font-weight: bold;
}
a:link {
	color: #<?php echo $data["lnk_txt"]; ?>;
}
a:visited {
	color: #<?php echo $data["lnk_vis"]; ?>;
}
a:hover {
	color: #<?php echo $data["lnk_roll"]; ?>;
}
a:active {
	color: #<?php echo $data["lnk_roll"]; ?>;
}
.h1 {
	font-weight: bold;
	font-size: 24px;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
.h3 {
	font-weight: bold;
}
.h4 {
	font-weight: bold;
}
.h5 {
	font-weight: bold;
}
.h6 {
	font-weight: bold;
}
.h2 {
	font-size: 16px;
	font-weight: bold;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
.H2 {
	font-size: 16px;
	font-weight: bold;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
.style4 {font-size: 14px}
.style7 {
	font-family: Dauphin;
	font-size: 24px;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
.style9 {color: #FFFFFF}
.style10 {font-size: 26px}
.style13 {font-size: 36px}
h3 {
	font-size: 16px;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
.style8 {font-size: 24px}
.style1 {font-size: 24px;
	font-weight: bold;
	font-style: italic;
	color: #<?php echo $data["pg_txt_clr"]; ?>;
}
</style>



<body class="body">

<!-- bordercolorlight="#FFFFFF" bordercolordark="#000000" -->
<TABLE border="1" cellpadding="0" cellspacing="0"  bordercolor="#<?php echo $data['pg_bdr_1'];?>" width="100%" height="100%">
<TR>


	<TD width="100%" height="100%">


		<table border="1" bordercolor="#<?php echo $data['pg_bdr_2'];?>" cellpadding="0" cellspacing="0" width="100%" height="100%">


		  <tr>


			<td width="150" height="150"><img border="0" src="./photos/header/<?php echo $data['cpnl_logo'];?>" width="150" height="150"></td>
			<td width="532" height="150" background="./photos/header/<?php echo $data['cpnl_hdr_image'];?>">
 <div align="center"><font face="Arial" size="6" color="<?php echo $data['pg_txt_clr'];?>"><?php echo $data['comp_name'];?></font></div>
 <div align="center"><?php echo $data['comp_slogan'];?></div>
 <div align="center"><font face="Lucida Handwriting" size="3" color="<?php echo $data['pg_txt_clr'];?>">Website Control Panel</font></div></td>
 			<td width="201" height="150"><div align="center"><?php echo $data['comp_contact'];?></div></td>
		  </tr>
		  <tr>
			<td width="100%" height="437" colspan="3">

<!-- bordercolorlight="#FFFFFF" height="100%" bordercolordark="#000000" -->
			  <table border="1" cellpadding="0" cellspacing="0" width="100%"  bordercolor="#<?php echo $data['pg_bdr_3'];?>">
				<tr>
				  <td width="150" valign=top>&nbsp;<BR><table border=0>
				<?php 
				if($_SESSION['SITE_ID'] == "101"){
					?>


				  <tr><td nowrap><a href="reseller.php?site_id=101">View/Manage New reseller (admin)</a></td></tr>



				  <tr><td nowrap><a href="reseller_renewal.php?site_id=101">View/Manage Reseller Renewal (admin)</a></td></tr>



				  <tr><td nowrap><a href="page_products.php?site_id=101">Product Master (admin)</a></td></tr>
				  <tr>
				  <td><?php if($_SESSION['SITE_ID']==101){?> <a href="product_addon.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Product Addons</a> <?php }?></td>
				  </tr>

				  <TR><td nowrap><HR color="#<?php echo $data['div_line'];?>"></td></tr>

				<?php
				}
				?>


				  <tr><td nowrap><a href="settings.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Settings</a></td></tr>


				  <tr><TD nowrap><a href="contactinfo.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Website Name & Contact Info</a></td></tr>


				  <TR><td nowrap><a href="payment_acc.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Payment Gateway</a></td></tr>

				  <TR><td nowrap><HR color="#<?php echo $data['div_line'];?>"></td></tr>


				  <TR><td nowrap><a href="skin.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Website Skin</a></td></tr>

<?php if($_SESSION['SITE_ID']==101){?>
				  <TR>
				    <td nowrap><a href="cpanel_contactinfo.php?site_id=<?php echo $_SESSION['SITE_ID'];?>">Control Panel Contact Info </a></td>
				    </tr>
				  <TR>
				    <td nowrap><a href="cpanel_skin.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Control Panel Skin </a></td>
				    </tr><?php }?>
				  <TR><td nowrap><a href="logo.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Website Logo</a></td></tr>

<?php if($_SESSION['SITE_ID']==101){?>
				  <TR>
				    <td nowrap><a href="cpanel_meta.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Control Panel Meta Tags</a> </td>
				    </tr><?php }?>
				  <TR><td nowrap><a href="site_meta.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Website Meta Tags</a></td></tr>


				  <TR><td nowrap><HR color="#<?php echo $data['div_line'];?>"></td></tr>


				  <tr><td nowrap><a href="page_content.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Manage pages</a></td></tr>


  				  <tr><td nowrap><a href="page_meta.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Manage Meta-Tag for pages</a></td></tr>


				  <TR><td nowrap><a href="navbar.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Manage Navigation Bar</a></td></tr>


				  <TR><td nowrap><HR color="#<?php echo $data['div_line'];?>"></td></tr>
				<!--  <TR>
				    <td nowrap><a href="cartmain.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Shopping Cart Admin </a></td>
				    </tr> -->
				  <TR><td nowrap><a href="product_pricing.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>">Add Product/Pricing</a></td></tr>

				  <TR><td nowrap><a href="reseller_reg.php?site_id=<?php echo $_SESSION['SITE_ID']; ?>" target="n1">Register new Reseller Account (Public)</a></td></tr>

				  <TR><td nowrap><a href="cpanel.html">Log Off</a></td></tr>


				  </table>


				  <td width="82%" valign=top align=center>